﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000D49 RID: 3401
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class PNMAMOGAMKP : IMessage<PNMAMOGAMKP>, IMessage, IEquatable<PNMAMOGAMKP>, IDeepCloneable<PNMAMOGAMKP>, IBufferMessage
	{
		// Token: 0x17002B2D RID: 11053
		// (get) Token: 0x060098AD RID: 39085 RVA: 0x00198244 File Offset: 0x00196444
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<PNMAMOGAMKP> Parser
		{
			get
			{
				return PNMAMOGAMKP._parser;
			}
		}

		// Token: 0x17002B2E RID: 11054
		// (get) Token: 0x060098AE RID: 39086 RVA: 0x0019824B File Offset: 0x0019644B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return PNMAMOGAMKPReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002B2F RID: 11055
		// (get) Token: 0x060098AF RID: 39087 RVA: 0x0019825D File Offset: 0x0019645D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return PNMAMOGAMKP.Descriptor;
			}
		}

		// Token: 0x060098B0 RID: 39088 RVA: 0x00198264 File Offset: 0x00196464
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PNMAMOGAMKP()
		{
		}

		// Token: 0x060098B1 RID: 39089 RVA: 0x0019826C File Offset: 0x0019646C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PNMAMOGAMKP(PNMAMOGAMKP other) : this()
		{
			this.eventUniqueId_ = other.eventUniqueId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060098B2 RID: 39090 RVA: 0x00198291 File Offset: 0x00196491
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PNMAMOGAMKP Clone()
		{
			return new PNMAMOGAMKP(this);
		}

		// Token: 0x17002B30 RID: 11056
		// (get) Token: 0x060098B3 RID: 39091 RVA: 0x00198299 File Offset: 0x00196499
		// (set) Token: 0x060098B4 RID: 39092 RVA: 0x001982A1 File Offset: 0x001964A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EventUniqueId
		{
			get
			{
				return this.eventUniqueId_;
			}
			set
			{
				this.eventUniqueId_ = value;
			}
		}

		// Token: 0x060098B5 RID: 39093 RVA: 0x001982AA File Offset: 0x001964AA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as PNMAMOGAMKP);
		}

		// Token: 0x060098B6 RID: 39094 RVA: 0x001982B8 File Offset: 0x001964B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(PNMAMOGAMKP other)
		{
			return other != null && (other == this || (this.EventUniqueId == other.EventUniqueId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060098B7 RID: 39095 RVA: 0x001982E8 File Offset: 0x001964E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EventUniqueId != 0U)
			{
				num ^= this.EventUniqueId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060098B8 RID: 39096 RVA: 0x00198327 File Offset: 0x00196527
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060098B9 RID: 39097 RVA: 0x0019832F File Offset: 0x0019652F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060098BA RID: 39098 RVA: 0x00198338 File Offset: 0x00196538
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EventUniqueId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.EventUniqueId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060098BB RID: 39099 RVA: 0x0019836C File Offset: 0x0019656C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EventUniqueId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EventUniqueId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060098BC RID: 39100 RVA: 0x001983AA File Offset: 0x001965AA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(PNMAMOGAMKP other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EventUniqueId != 0U)
			{
				this.EventUniqueId = other.EventUniqueId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060098BD RID: 39101 RVA: 0x001983DB File Offset: 0x001965DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060098BE RID: 39102 RVA: 0x001983E4 File Offset: 0x001965E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.EventUniqueId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003ACA RID: 15050
		private static readonly MessageParser<PNMAMOGAMKP> _parser = new MessageParser<PNMAMOGAMKP>(() => new PNMAMOGAMKP());

		// Token: 0x04003ACB RID: 15051
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003ACC RID: 15052
		public const int EventUniqueIdFieldNumber = 1;

		// Token: 0x04003ACD RID: 15053
		private uint eventUniqueId_;
	}
}
